package com.jkoss.wine.system.entity;

import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;

import cn.afterturn.easypoi.excel.annotation.Excel;

/**
 * 部门
 * 
 * @Author Jason
 * @Version 1.0, 2018-10-02
 * @See
 * @Since com.jkoss.wine.system.entity
 * @Description: TODO
 */
public class Department extends Model<Department> {

	private static final long serialVersionUID = 1L;

	/**
	 * 部门id
	 */
	@TableField("id")
	private String id;
	/**
	 * 部门名称
	 */
	@Excel(name = "部门名称", orderNum = "0", width = 30)
	@TableField("name")
	private String name;
	/**
	 * 备注
	 */
	@Excel(name = "备注", orderNum = "3", width = 30)
	@TableField("remk")
	private String remk;
	/**
	 * 当操作人为null时，表示自动录入
	 */
	@TableField("operator")
	private String operator;
	/**
	 * 添加时间
	 */
	@TableField("add_time")
	private Date addTime;
	/**
	 * 是否删除：0-未删除、1-已删除、2-不能删除
	 */
	@TableField("del")
	private Integer del;
	/**
	 * 编制
	 */
	@Excel(name = "编制", orderNum = "1", width = 30)
	@TableField("arst")
	private String arst;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getRemk() {
		return remk;
	}

	public void setRemk(String remk) {
		this.remk = remk;
	}

	public String getOperator() {
		return operator;
	}

	public void setOperator(String operator) {
		this.operator = operator;
	}

	public Date getAddTime() {
		return addTime;
	}

	public void setAddTime(Date addTime) {
		this.addTime = addTime;
	}

	public Integer getDel() {
		return del;
	}

	public void setDel(Integer del) {
		this.del = del;
	}

	public String getArst() {
		return arst;
	}

	public void setArst(String arst) {
		this.arst = arst;
	}

	@Override
	protected Serializable pkVal() {
		return null;
	}

	@Override
	public String toString() {
		return "Department{" + ", id=" + id + ", name=" + name + ", remk=" + remk + ", operator=" + operator + ", addTime=" + addTime + ", del=" + del + "}";
	}
}
